Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for newer Elixir versions #39

Closed
wants to merge 4 commits into from

Conversation

nathany-copia
Copy link
Contributor

closes #38

Compiles without warnings and all tests are passing in Elixir 1.16.

We'll have to see what Travis CI reports for older versions, and may need to adjust to support multiple versions at once. How many versions back would you like to support?

Comment on lines +14 to +24
- elixir: '1.7'
otp_release: '19.3'
- elixir: '1.7'
otp_release: '20.3'
- elixir: '1.7'
otp_release: '21.0'
- elixir: '1.8'
otp_release: '20.3'
- elixir: '1.8'
otp_release: '21.0'
- elixir: '1.8'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you want to keep these old versions in the matrix? how far back?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, let me know if you'd prefer to switch to GitHub Actions instead.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey nathany! thanks for starting this! Yes please I would love to move us to Github Actions!

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And happy to drop old versions. Happy to stay with the Elixir 1.15+ if that's possible

Comment on lines -29 to +34
{:cowboy, "~> 2.8.0"},
{:cowboy, "~> 2.12.0"},
{:exjsx, "~> 3.0 or ~> 4.0"},
{:con_cache, "~> 0.14.0"},
{:con_cache, "~> 1.1.0"},
{:earmark, "~> 1.0", only: :dev},
{:ex_doc, "~> 0.18", only: :dev},
{:meck, "~> 0.8.13", only: :test}
{:meck, "~> 0.9.2", only: :test}
Copy link
Contributor Author

@nathany-copia nathany-copia Jun 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason to support older versions?

a lot of the deprecation warnings we've seen are coming from the old version of cowboy

see elixir-tesla/tesla#684

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reason to support old versions. We can bump everything!

@nathany-copia
Copy link
Contributor Author

This fixes the warnings and all the tests pass in Elixir 1.16, but it isn't enough to fix the test failures reported by Tesla.

@edgurgel
Copy link
Owner

@nathany-copia I have a fix for the SSL issue once we get this merged 👍 Let me know if you want to get the GitHub Actions setup done. Cheers!

@edgurgel edgurgel mentioned this pull request Jun 25, 2024
@edgurgel edgurgel closed this Jun 25, 2024
@nathany-copia nathany-copia deleted the update branch June 25, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrading Tesla
2 participants